<?php 

include './Core/function.php';
include './Core/Upload.class.php';


$config = array(
	'UPLOAD_PATH'=>'./Face/',
	'UPLOAD_NAME'=>'uniqid',
	'UPLOAD_TYPE'=>'jpg,png,gif',
	'UPLOAD_MAX_FILE_SIZE'=>'5000',
	);

$Upload = new Upload($config);

$path = $Upload->Save();

var_dump($path);



 ?>